﻿using System.Runtime.Serialization;

namespace ActiveDirectoryService.Library.DataContracts
{
    [DataContract]    
    public class Group
    {
        [DataMember(IsRequired = true)]
        public string Name { get; set; }

        [DataMember(IsRequired = true)]
        public string DistinguishedName { get; set; }

        [DataMember(IsRequired = true)]
        public int GroupType { get; set; }
        
        [DataMember(IsRequired = true)]
        public string Email { get; set; }

        [DataMember(IsRequired = true)]
        public string Phone { get; set; }
    }
}